package org.ysu.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.ysu.pojo.Clue;
import org.ysu.pojo.ClueAndPName;
import org.ysu.pojo.Statistics;
import java.util.Date;
import java.util.List;

/**
 * @author libaoyu
 * @description 针对表【clue】的数据库操作Service
 * @createDate 2024-06-17 14:59:53
 */
public interface ClueService extends IService<Clue> {
    Integer insertClue(Clue clue);
    List<Clue> getListsByCcid(Integer id);
    Integer changeRisk(Integer id, Integer riskFinance, Integer riskSocial, Integer riskMan, Integer riskSubstance, Integer riskNature , Date updateTime);
    List<ClueAndPName> getClueByvId(Integer vid);

    Statistics getRiskData(Integer id,Integer data);

    List<Clue> getListsByVid(Integer vid);
}
